package com.job.Gai_Yian.Homework0711;

import com.job.yang.homework0709.lizi.Animal;

import java.util.Scanner;

/**
 * @author Gai_Yian
 * @version 1.0
 * @since 2022-07-12 12:44:38
 */
public class Textsss {
    public static void main(String[] args) {
//        final Animal a= new Animal();
//        a.name="Enderman";

        Scanner a=new Scanner(System.in);
        Scanner b=new Scanner(System.in);
        System.out.println(a.getClass().getName());//获取a的运行时类    类的名字

        Premier p1=Premier.getInstance();
        Premier p2=Premier.getInstance();

        System.out.println(p1.hashCode());
        System.out.println(p2.hashCode());

        System.out.println(a.hashCode());
        System.out.println(b.hashCode());

        System.out.println(p1);
        System.out.println(p1.toString());
    }
}
